<template>
	<div>
		<router-link to="/home">首页</router-link>
		<router-link :to="{name:'新闻列表',params:{id:12}}">新闻</router-link>
		<router-link :to="{path:'/home/userreg',query:{name:'张三'}}">用户注册</router-link> 
		
		<router-view></router-view>
	</div>
</template>

<script>
	export default{
		
	}
</script>

<style>
</style>